package com.sky.mapper;

import com.sky.entity.DishFlavor;

import java.util.List;

public interface DishFlavorMapper {
    /**
     * 添加菜品口味
     * @param flavors
     */
    void save(List<DishFlavor> flavors);

    /**
     * 根据菜品ID删除口味
     * @param dishId
     */
    void delete(Long dishId);

    /**
     * 根据菜品ID查口味
     * @param dishId
     * @return
     */
    List<DishFlavor> getDishId(Long dishId);
}
